package com.lcj.ssm.po;

public class Forum {
    private Integer id;

    private String name;

    private String description;

    private Integer position;

    private Integer topiccount = 0;

    private Integer articlecount = 0;

    private Integer lasttopicid;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Integer getPosition() {
        return position;
    }

    public void setPosition(Integer position) {
        this.position = position;
    }

    public Integer getTopiccount() {
        return topiccount;
    }

    public void setTopiccount(Integer topiccount) {
        this.topiccount = topiccount;
    }

    public Integer getArticlecount() {
        return articlecount;
    }

    public void setArticlecount(Integer articlecount) {
        this.articlecount = articlecount;
    }

    public Integer getLasttopicid() {
        return lasttopicid;
    }

    public void setLasttopicid(Integer lasttopicid) {
        this.lasttopicid = lasttopicid;
    }

	@Override
	public String toString() {
		return "Forum [id=" + id + ", name=" + name + ", description=" + description + ", position=" + position
				+ ", topiccount=" + topiccount + ", articlecount=" + articlecount + ", lasttopicid=" + lasttopicid
				+ "]";
	}
}